package cn.signalpha.modules.com.excel;

import cn.signalpha.modules.com.excel.converter.WithdrawStatusConverter;
import cn.signalpha.modules.com.excel.converter.WithdrawTypeConverter;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * UserDTO
 *
 * @author Chill
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class WithdrawExcel implements Serializable {
	private static final long serialVersionUID = 1L;

	@ExcelProperty(value = "提现人")
	private String realName;

	@ExcelProperty(value = "提现账号")
	private String account;

	@ExcelProperty(value = "到账金额")
	private Double amount;

	@ExcelProperty(value = "提现类型", converter = WithdrawTypeConverter.class)
	private Integer type;

	@ExcelProperty(value = "状态", converter = WithdrawStatusConverter.class)
	private Integer status;

	@ExcelProperty(value = "驳回理由")
	private String remark;

	@ExcelProperty(value = "申请时间")
	private Date createTime;

	@ExcelProperty(value = "提现时间")
	private Date auditTime;

	@ExcelProperty(value = "提现时间")
	private Date updateTime;

}
